import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from "./router/index";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import VForm3 from 'vform3-builds'  //引入VForm 3库
import 'vform3-builds/dist/designer.style.css'  //引入VForm3样式
import { createPinia } from 'pinia';
import { createPersistedState } from 'pinia-persistedstate-plugin'
// @ts-ignore
import AMap from 'vue-amap';
const pinia = createPinia();
pinia.use(createPersistedState());
const elementApp = createApp(App);

elementApp.use(router)
elementApp.use(ElementPlus,{size:""})
elementApp.use(VForm3)
elementApp.use(pinia)
elementApp.use(AMap)
elementApp.mount("#app")
